using Furesoft.Papi.Tokenizer;
using Furesoft.Papi.Tokenizer.Basic;

namespace Furesoft.Papi.Tokenizer
{
    /// <summary>
    /// A PeekToken object class
    /// </summary>
    /// <remarks>
    /// A PeekToken is a special pointer object that can be used to Peek() several
    /// tokens ahead in the GetToken() queue.
    /// </remarks>
    public class PeekToken
    {
        public int TokenIndex { get; set; }

        public BasicToken TokenPeek { get; set; }

        public PeekToken(int index, BasicToken value)
        {
            TokenIndex = index;
            TokenPeek = value;
        }
    }
}